package com.pan.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Schema(description = "用户操作日志信息")
public class AopLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "编号", example = "1")
    private Integer id;
    @Schema(description = "操作", example = "登录")
    private String title;
    @Schema(description = "提交信息", example = "username=tu666,password=tu")
    private String optParam;
    @Schema(description = "业务类型", example = "1")
    private Integer businessType;
    @Schema(description = "状态码", example = "1")
    private Integer status;
    @Schema(description = "错误信息", example = "a")
    private String errorMsg;
    @Schema(description = "操作时间", example = "2023-04-19 13:44:08")
    private Date operTime;
    @Schema(description = "用户名", example = "zhu666")
    private String username;
}
